Skip to content

[stable34] fix(files): Open the sidebar for the current folder, not a stale child#61606

Open
backportbot[bot] wants to merge 2 commits into
stable34from
backport/61330/stable34
Open

[stable34] fix(files): Open the sidebar for the current folder, not a stale child#61606
backportbot[bot] wants to merge 2 commits into
stable34from
backport/61330/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 26, 2026

Copy link
Copy Markdown

Backport of #61330

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot Bot requested review from nfebe, pringelmann and susnux June 26, 2026 10:38
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Jun 26, 2026
@backportbot backportbot Bot added this to the Nextcloud 34.0.2 milestone Jun 26, 2026
@kyteinsky kyteinsky marked this pull request as ready for review June 30, 2026 12:55
@kyteinsky kyteinsky requested review from a team and skjnldsv as code owners June 30, 2026 12:55
@kyteinsky

Copy link
Copy Markdown
Contributor

/compile

nfebe and others added 2 commits June 30, 2026 18:46
When opening the sidebar for a folder, the route still referenced the file id of a previously opened subfolder. Because that subfolder is listed inside the current folder, the sidebar restored its share and details context instead of the current folder's. The active file id is now kept in sync with the route, so a stale id can no longer be restored.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@kyteinsky kyteinsky force-pushed the backport/61330/stable34 branch from 5001ece to 0ce733c Compare June 30, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants